package com.zhouyi.meihuayishu.pojo;
import java.sql.Timestamp;

/**
 * @author HhaoAn
 * @date 2025年03月31日 17:29
 * 交流记录
 */

public class Conversations {
    private int conversation_id;
    private int user_id;
    private int module_id;
    private String message_content;
    private String role;
    private String model;
    private Timestamp timestamp;

    public int getConversation_id() {
        return conversation_id;
    }

    public void setConversation_id(int conversation_id) {
        this.conversation_id = conversation_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getModule_id() {
        return module_id;
    }

    public void setModule_id(int module_id) {
        this.module_id = module_id;
    }

    public String getMessage_content() {
        return message_content;
    }

    public void setMessage_content(String message_content) {
        this.message_content = message_content;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Timestamp getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Timestamp timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "Conversations{" +
                "conversation_id=" + conversation_id +
                ", user_id=" + user_id +
                ", module_id=" + module_id +
                ", message_content='" + message_content + '\'' +
                ", role='" + role + '\'' +
                ", model='" + model + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}